package com.ruoyi.slope.video.AICamera.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 边坡落石及碎落监测对象 slope_camera_ai
 * 
 * @author ruoyi
 * @date 2025-05-11
 */
public class SlopeCameraAi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 边坡编码 */
    @Excel(name = "边坡编码")
    private String slopeCode;

    /** 传感器ID */
    @Excel(name = "传感器ID")
    private String sensorId;

    /** 监测类型 */
    @Excel(name = "监测类型")
    private String monitoringType;

    /** 监测区域 */
    @Excel(name = "监测区域")
    private String monitoringArea;

    /** 事件时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "事件时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date eventTime;

    /** 视频链接 */
    @Excel(name = "视频链接")
    private String videoUrl;

    /** 检测图片 */
    @Excel(name = "检测图片")
    private String detectionImage;

    /** 报警状态 */
    @Excel(name = "报警状态")
    private Long alarmStatus;

    /** 管养部门 */
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSlopeCode(String slopeCode) 
    {
        this.slopeCode = slopeCode;
    }

    public String getSlopeCode() 
    {
        return slopeCode;
    }

    public void setSensorId(String sensorId) 
    {
        this.sensorId = sensorId;
    }

    public String getSensorId() 
    {
        return sensorId;
    }

    public void setMonitoringType(String monitoringType) 
    {
        this.monitoringType = monitoringType;
    }

    public String getMonitoringType() 
    {
        return monitoringType;
    }

    public void setMonitoringArea(String monitoringArea) 
    {
        this.monitoringArea = monitoringArea;
    }

    public String getMonitoringArea() 
    {
        return monitoringArea;
    }

    public void setEventTime(Date eventTime) 
    {
        this.eventTime = eventTime;
    }

    public Date getEventTime() 
    {
        return eventTime;
    }

    public void setVideoUrl(String videoUrl) 
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl() 
    {
        return videoUrl;
    }

    public void setDetectionImage(String detectionImage) 
    {
        this.detectionImage = detectionImage;
    }

    public String getDetectionImage() 
    {
        return detectionImage;
    }

    public void setAlarmStatus(Long alarmStatus) 
    {
        this.alarmStatus = alarmStatus;
    }

    public Long getAlarmStatus() 
    {
        return alarmStatus;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("slopeCode", getSlopeCode())
            .append("sensorId", getSensorId())
            .append("monitoringType", getMonitoringType())
            .append("monitoringArea", getMonitoringArea())
            .append("eventTime", getEventTime())
            .append("videoUrl", getVideoUrl())
            .append("detectionImage", getDetectionImage())
            .append("alarmStatus", getAlarmStatus())
            .append("deptId", getDeptId())
            .toString();
    }
}
